// pages/index/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    arr: [],
    movies: [{
        url: '/asstess/1.jpg'
      },
   
      {
        url: '/asstess/3.jpg'
      },
      {
        url: '/asstess/4.jpg'
      },
      {
        url: '/asstess/6.jpg'
      },
    
      {
        url: '/asstess/5.jpg'
      }
    ],
    news_list: [{
      id: 0,
      name: "增进民生福祉 感受身边变化积分养老政策宣传",
      time: "2024-09-24 08:48:54",
      img: "/asstess/1.jpg"
    }, {
      id: 0,
      name: "增进民生福祉 感受身边变化积分养老政策宣传",
      time: "2024-09-24 08:48:54",
      img: "/asstess/1.jpg"

    }, {
      id: 0,
      name: "增进民生福祉 感受身边变化积分养老政策宣传",
      time: "2024-09-24 08:48:54",
      img: "/asstess/1.jpg"
    }


  ]
  },
  navigator(e) {
    console.log(e.mark.index)
    if(e.mark.index==1){
      wx.navigateTo({
        url: '../oldman/oldman',
      })
    }
    if(e.mark.index==2){
      wx.navigateTo({
        url: '../lifeservice/lifeservice',
      })
    }
    if(e.mark.index==3){
      wx.navigateTo({
        url: '../bills/bills',
      })
    }
    if(e.mark.index==4){
      wx.navigateTo({
        url: '../remind/remind',
      })
    }
 
  }
}
)

